var app = angular.module("myApp",[]);
app.filter('trustHtml', function ($sce) {
    return function (input) {
        return $sce.trustAsHtml(input);
    }
});
app.controller("myCtrl0",["$scope",'$http',function($scope,$http){
    var seachId=location.search;
    $http({
        url:'http://139.199.192.48:9090/api/getdiscountproduct'+seachId,
        method:'get'
    })
        .then(function(data){
            $scope.data=data.data.result[0];
        })
}])
